package com.gitee.webdav.kernel.user;

/**
 * @author hongda.li
 */
@FunctionalInterface
public interface AuthenticationProvider<U extends User> {

    U authenticate(String username, String password);
}
